package com.nativetalk.bean.comment;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class TdNtCommentPage {
    private Integer reserve_id;//预约id
    private Integer tea_id;//教师id
    private Integer memb_id;//用户id
    private String memb_url;//用户头像
    private String memb_name;//用户名
    private Timestamp reserve_start_time;//预约时间
    private Timestamp reserve_end_time;//预计结束时间
    private Integer reserve_time;//预约时间单位分钟
    private Integer state = 1;//状态 1待上课 2待评价 3已取消 4已评价
    private BigDecimal amout;//价格
    private Integer cou_id;//课程id
    private Integer memb_set_id;//用户购买套餐id
    private String collection_flag;//收藏标识
    private String tea_url;//老师头像
    private String tea_name;//老师名
    private String cou_name;//课程名
    private Double tea_score;//老师评分
    private Integer is_trial;//是否为体验课  0：不是体验课   1：是体验课

    /**
     * 插入评价使用字段
     * @return
     */
    @Range(min=1,max=5,message="{STUDY.GRADE.REGEXP}")
    private Integer com_grade;//评价分数
    @Length(min = 1,max = 150, message = "{STUDY.CONTENT.REGEXP}}")
    private String com_content;//评价内容
    private String com_month;//当前月份
    private String com_reply_content;//教师回复
    private Timestamp com_reply_time;//回复时间
    private String recording_url;//录音地址
    private Integer type;//

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getReserve_id() {
        return reserve_id;
    }

    public void setReserve_id(Integer reserve_id) {
        this.reserve_id = reserve_id;
    }

    public Integer getTea_id() {
        return tea_id;
    }

    public void setTea_id(Integer tea_id) {
        this.tea_id = tea_id;
    }

    public Integer getMemb_id() {
        return memb_id;
    }

    public void setMemb_id(Integer memb_id) {
        this.memb_id = memb_id;
    }

    public Timestamp getReserve_start_time() {
        return reserve_start_time;
    }

    public void setReserve_start_time(Timestamp reserve_start_time) {
        this.reserve_start_time = reserve_start_time;
    }

    public Timestamp getReserve_end_time() {
        return reserve_end_time;
    }

    public void setReserve_end_time(Timestamp reserve_end_time) {
        this.reserve_end_time = reserve_end_time;
    }

    public Integer getReserve_time() {
        return reserve_time;
    }

    public void setReserve_time(Integer reserve_time) {
        this.reserve_time = reserve_time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public BigDecimal getAmout() {
        return amout;
    }

    public void setAmout(BigDecimal amout) {
        this.amout = amout;
    }

    public Integer getCou_id() {
        return cou_id;
    }

    public void setCou_id(Integer cou_id) {
        this.cou_id = cou_id;
    }

    public Integer getMemb_set_id() {
        return memb_set_id;
    }

    public void setMemb_set_id(Integer memb_set_id) {
        this.memb_set_id = memb_set_id;
    }

    public String getCollection_flag() {
        return collection_flag;
    }

    public void setCollection_flag(String collection_flag) {
        this.collection_flag = collection_flag;
    }

    public String getTea_url() {
        return tea_url;
    }

    public void setTea_url(String tea_url) {
        this.tea_url = tea_url;
    }

    public String getTea_name() {
        return tea_name;
    }

    public void setTea_name(String tea_name) {
        this.tea_name = tea_name;
    }

    public String getCou_name() {
        return cou_name;
    }

    public void setCou_name(String cou_name) {
        this.cou_name = cou_name;
    }

    public Double getTea_score() {
        return tea_score;
    }

    public void setTea_score(Double tea_score) {
        this.tea_score = tea_score;
    }

    public Integer getCom_grade() {
        return com_grade;
    }

    public void setCom_grade(Integer com_grade) {
        this.com_grade = com_grade;
    }

    public String getCom_content() {
        return com_content;
    }

    public void setCom_content(String com_content) {
        this.com_content = com_content;
    }

    public String getCom_month() {
        return com_month;
    }

    public void setCom_month(String com_month) {
        this.com_month = com_month;
    }

    public String getCom_reply_content() {
        return com_reply_content;
    }

    public void setCom_reply_content(String com_reply_content) {
        this.com_reply_content = com_reply_content;
    }

    public Timestamp getCom_reply_time() {
        return com_reply_time;
    }

    public void setCom_reply_time(Timestamp com_reply_time) {
        this.com_reply_time = com_reply_time;
    }

    public String getRecording_url() {
        return recording_url;
    }

    public void setRecording_url(String recording_url) {
        this.recording_url = recording_url;
    }

    public String getMemb_url() {
        return memb_url;
    }

    public void setMemb_url(String memb_url) {
        this.memb_url = memb_url;
    }

    public String getMemb_name() {
        return memb_name;
    }

    public void setMemb_name(String memb_name) {
        this.memb_name = memb_name;
    }

    public Integer getIs_trial() {
        return is_trial;
    }

    public void setIs_trial(Integer is_trial) {
        this.is_trial = is_trial;
    }
}
